home *** CD-ROM | disk | FTP | other *** search
- From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
- Date: Mon, 8 Nov 93 10:39:29 +0100
- Message-Id: <9311080939.AA25671@issan.informatik.uni-dortmund.de>
- To: mint@atari.archive.umich.edu
- In-Reply-To: <9311041754.AA00307@jelal.north.de> (message from Juergen Lock on Thu, 4 Nov 93 18:54:16 CET)
- Subject: gcc -mbaserel (was: Re: too much mintlibs updates???)
-
- >>>>> Juergen Lock <nox@jelal.north.de> writes:
-
- |> Thomas Schulze writes:
- |>> (There is a risk, of course. At the moment for example
- |>> gcc-2.5.2 seems to generate a defect mbaserel mintlib...)
-
- |> btw... is there a gcc version >2.3.3 yet that compiles a working
- |> elvis 1.7? CFLAGS= -O2 -Wall -mbaserel -fomit-frame-pointer...
-
- I have no problems with -mbaserel since i have applied this patch to
- gcc-2.5.2:
-
- --- orig.st/calls.c Mon Oct 25 18:46:18 1993
- +++ calls.c Thu Nov 4 23:55:42 1993
- @@ -2401,6 +2401,11 @@
- library functions shouldn't have many args. */
-
- argvec = (struct arg *) alloca ((nargs + 1) * sizeof (struct arg));
- +
- +#ifdef ENCODE_SECTION_INFO
- + /* mark it as a function (to be in the text section that is) */
- + SYMBOL_REF_FLAG (fun) = 1;
- +#endif
-
- INIT_CUMULATIVE_ARGS (args_so_far, NULL_TREE, fun);
-
-
-